<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>`Jn.Too'--- Ecshop 登录插件测试</title>
</head>

<body>


<div class="" style="margin-left:auto; margin-right:auto; width:350px; border:1px solid #CCC; border-top:2px solid #09F; padding:10px; margin-top:100px;">
<a href="user.php?act=oath&type=qq">使用QQ登录插件</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="user.php?act=oath&type=weibo">使用新浪微博登录插件</a><br /><br />
<a href="user.php?act=oath&type=taobao">使用淘宝登录插件</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
<hr />
<p align="center">使用弹出窗登录方式</p>
<input type="button" value="淘宝登录" onclick="login('user.php?act=oath&type=taobao&open=1')" />&nbsp;&nbsp;&nbsp;
<input type="button" value="新浪微博登录插件" onclick="login('user.php?act=oath&type=weibo&open=1')" />&nbsp;&nbsp;&nbsp;
<input type="button" value="QQ登录插件" onclick="login('user.php?act=oath&type=qq&open=1')" />
</div>
<div class="" style="margin-left:auto; margin-right:auto; width:350px; border:1px solid #F00; background:#FF9; color:#F00; padding:10px; margin-top:10px;">
<p>`Jn.Too'--第三方登录插件使用例子</p>

<p>请把我放到 你的网站跟目录， 并确定你已经按照说明完成一系列 工作！！！</p>

</div>

<div style="height: 40px;line-height: 40px;">
			<iframe width="63" height="24" class="mt10 mr10" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no" border="0" src="http://widget.weibo.com/relationship/followbutton.php?language=zh_cn&width=63&height=24&uid=1667368437&style=1&btn=red&dpc=1"></iframe>
</div>

</body>
</html>
<script language="javascript">
function login(url , width , height)
{
	width = width == null ? 490 : width;
	height = height == null ? 320 : height;
	var iTop = (window.screen.availHeight-30-height)/2;
	var iLeft = (window.screen.availWidth-10-width)/2;
	
  	childWindow = window.open(url,"TencentLogin","width="+width+",height="+height+",top="+iTop+",left="+iLeft+",menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}
</script>